package com.technoorbit.vbreakup;


import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.TextView;

public class DetailsBaseActivity extends BaseActivity {
	@Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.details);
        btnShare();
        btnGossips();
        
   }
	 public void btnShare()
	    {
	    	((Button) findViewById(R.id.btnShare)).setOnClickListener(new OnClickListener() {
				public void onClick(View v) {
					Intent shareIntent=new Intent(Intent.ACTION_SEND);
					shareIntent.setType("text/plain");
					TextView txtDetails=(TextView)findViewById(R.id.txtDetails);
					shareIntent.putExtra(Intent.EXTRA_SUBJECT, txtDetails.getText());
					//shareIntent.putExtra(Intent.EXTRA_TEXT,"");
					startActivity(Intent.createChooser(shareIntent, "Share"));
					
				}
			});
	    }
	    
	    public void btnGossips()
	    {
	    	((Button) findViewById(R.id.btnGossips)).setOnClickListener(new OnClickListener() {
				public void onClick(View v) {
					
				}
			});
	    }
	    public void btnLoveit()
	    {
	    	((Button) findViewById(R.id.btnGossips)).setOnClickListener(new OnClickListener() {
				public void onClick(View v) {
					
				}
			});
	    }

	    public void btnBreakit()
	    {
	    	((Button) findViewById(R.id.btnGossips)).setOnClickListener(new OnClickListener() {
				public void onClick(View v) {
					
				}
			});
	    }

}
